package com.yimils.core.goods.serivce;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yimils.core.goods.entity.GoodsVideoEntity;
import com.yimils.core.goods.vo.GoodsVideoRes;

import java.util.List;
import java.util.Map;

public interface GoodsVideoService extends IService<GoodsVideoEntity> {
    Boolean saveGoodsVideo(List<String> videoUrls, Long goodsId);

    Boolean deleteGoodsVideo(List<Long> videoIds, Long goodsId);

    Map<Long, List<GoodsVideoRes>> mapListGoodsVideo(List<Long> goodsIds);
}
